Automattic\Jetpack\Sync\Modules\Themes C

Total Complexity 106
Dependencies 1
Dependents 0
Total lines 864
Lines of code 385
Logical lines of code 230
Comment lines 393
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
theme_edit_ajax()
B
36 21 81
sync_sidebar_widgets_actions()
A
47 14 35
check_upgrader()
A
44 13 43
detect_theme_edit()
S
52 6 25
sync_widget_edit()
S
58 6 15
sync_network_allowed_themes_change()
S
56 5 18
sync_remove_widgets_from_sidebar()
S
56 5 17
sync_add_widgets_to_sidebar()
S
57 4 17
sync_widgets_reordered()
S
60 4 14
get_delete_theme_call()
S
62 4 11
get_theme_details_for_slugs()
S
61 2 13
detect_theme_deletion()
S
61 2 12
get_theme_info()
S
62 2 11
init_listeners()
S
52 1 23
get_objects_by_id()
S
72 2 6
get_widget_name()
S
74 2 4
get_sidebar_name()
S
74 2 4
is_theme_switch()
S
80 1 3
total()
S
82 1 3
name()
S
82 1 3
expand_theme_data()
S
81 1 3
get_full_sync_actions()
S
81 1 3
estimate_full_sync_actions()
S
82 1 3
send_full_sync_actions()
S
75 1 4
enqueue_full_sync_actions()
S
76 1 4
sync_theme_support()
S
75 1 4
init_full_sync_listeners()
S
80 1 3
init_before_send()
S
79 1 3